package se.webbzon.boltzmann.game.object.dialogue.factory;

import se.webbzon.boltzmann.game.object.dialogue.layout.DialogueLayout;
import se.webbzon.boltzmann.game.object.dialogue.word.AbstractDialogueWord;
import se.webbzon.boltzmann.game.object.dialogue.word.InputDialogueWord;

public class InputDialogueWordFactory extends AbstractDialogueWordFactory {
	
	// The name of the input
	private final String input;
	
	/*============================================================
	Constructors
	============================================================*/
	
	/** Creates a new input dialogue word factory with a given input name. **/
	public InputDialogueWordFactory(String input) {
		this.input = input;
	}
	
	/*============================================================
	Public Methods
	============================================================*/

	@Override public AbstractDialogueWord createWord(DialogueLayout layout) {
		return new InputDialogueWord(layout,input);
	}

}
